package com.zyh.domain;

public class Teacher extends People{
    public String subject;
    public void teach(){
        System.out.println("教书");
    }

    @Override
    public void show() {
        System.out.println("我爱教书");
    }

    @Override
    public void eat() {
        super.eat();
    }
}
